package com.ruoyi.wechat.feign;


import com.ruoyi.wechat.feign.domain.PageResult;
import com.ruoyi.wechat.feign.domain.RequestParams;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "ruoyi-elasticsearch")
public interface ElacsticsearchFeignService {
    @PostMapping("/hotel/searchList")
    public PageResult search(@RequestBody RequestParams params);
}
